CREATE TABLE [dbo].[TDAVIS_SIST]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_SIST] [dbo].[TD_VC_020] NOT NULL,
[CO_MODU] [dbo].[TD_VC_020] NOT NULL,
[CO_ALER] [dbo].[TD_VC_003] NOT NULL,
[DE_COL1] [dbo].[TD_VC_100] NULL,
[DE_COL2] [dbo].[TD_VC_100] NULL,
[DE_COL3] [dbo].[TD_VC_100] NULL,
[DE_COL4] [dbo].[TD_VC_100] NULL,
[DE_COL5] [dbo].[TD_VC_100] NULL,
[DE_COL6] [dbo].[TD_VC_100] NULL,
[DE_COL7] [dbo].[TD_VC_100] NULL,
[DE_COL8] [dbo].[TD_VC_100] NULL,
[DE_COL9] [dbo].[TD_VC_100] NULL,
[DE_CO10] [dbo].[TD_VC_100] NULL,
[CO_USUA] [dbo].[TD_VC_050] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDAVIS_SIST] ADD CONSTRAINT [PK__TDAVIS_S__9B35B5F070898974] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_SIST], [CO_MODU], [CO_ALER]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDAVIS_SIST] ADD CONSTRAINT [FK__TDAVIS_SI__CO_EM__27C4AFC5] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
